import {getProduct} from "@/HttpRequests/ProductLIstRequest";

export interface IProductInputDto{
    belongTypeName:string,
    sort:string,
    pageIndex:number
}

export interface IProductInfo{
    products:IProduct[],
    belongTypes:IBlongType[],
    getProducts:Function,
    getBelongTypes:Function
    // tranPrice:Function(price:number):string
}

export interface IProduct{
    id: number;
    sysNo: string;
    productNo: string;
    productName: string;
    typeNo: string;
    typeName: string;
    productPp: string;
    productXh: string;
    productCz: string;
    productHb: string;
    productHd: string;
    productGy: string;
    productHs: string;
    productMc: string;
    productDj: string;
    productCd: string;
    productGg: string;
    productYs: string;
    unitNo: string;
    unitName: string;
    productNote: string;
    productBzgg: string;
    belongTypeNo: string;
    belongTypeName: string;
    // productPhoto: ProductPhoto;
    // productSale: ProductSale;
}
export interface IBlongType {
    sysNo: string;
    belongTypeNanme: string;
}
export interface IProductType {
    typeNo: string;
    typeName: string;
}